import axios from '@/libs/api.request'

export const getList = info => {
  return axios.request({
    url: 'category/getList',
    data: info,
    method: 'post'
  })
}

 
export const add = info => {
  return axios.request({
    url: 'category/add',
    data: info,
    method: 'post'
  })
}

export const put = info => {
  return axios.request({
    url: 'category/edit',
    data: info,
    method: 'post'
  })
}

export const del = info => {
  return axios.request({
    url: 'category/delete',
    data: info,
    method: 'post'
  })
}
 
 

export const updateStatus = info => {
  return axios.request({
    url: 'category/updateStatus',
    data: info,
    method: 'post'
  })
}

 
